"""
masalalar
"""
#############################
def masala1(misol):
    """
    5 dan kichkina sonlarni chiqarish
    """
    royxasat = []
    for toshbaqa in misol:
        if toshbaqa < 6:
            royxasat.append(toshbaqa)
    print(royxasat)

masala1(list(range(1, 11)))
#############################
def masala2(misol):
    """
    5 dan kichkina sonlarni chiqarish
    """
    return [i for i in misol if i <= 5]
print(masala2(list(range(1, 11))))
#############################
def masala3(misol):
    """
    Funksiya sharxlandi
    """
    return([i for i in misol if i <= 5])
print(masala3(list(range(1, 11))))
#############################
def masala4(misollar):
    """
    Funksiyani sharxlandi
    """
    return list(filter(lambda elem : elem < 5, misollar))
print(masala4([1, 11]))
